using System;
using System.Web.Security;
using Microsoft.SharePoint;
using Microsoft.SharePoint.WebControls;
using Microsoft.SharePoint.Administration;

namespace CKS.InternetExtranet
{
    /// <summary>
    /// Custom edit button to allow the edit URL page be configured
    /// </summary>
    public class UserProfileEditButton : UserInfoListEditItemButton
    {
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            base.NavigateUrl = base.NavigateUrl.Replace("useredit", "iee/usermodify");
        }
    }
}